/**
 * @file mock data
 * @author autoresponse
 */

/* eslint-disable fecs-camelcase */

/**
 * 获取 mock 响应数据
 *
 * @param {string} path 请求路径名
 * @param {Object} queryParam 查询参数信息
 * @param {Object} postParam post 的查询参数信息
 * @return {Object}
 */
module.exports = function (path, queryParam, postParam) {
    return {
        // 可以通过该属性来设置响应的延时，也可以设为值为'0,100'，表示随机 0-100ms 的延时，默认 0
        _timeout: 0,

        // 通过该状态来设置响应的 http 的状态码，默认 200
        _status: 200,

        // 对于要响应的 json 数据可以统一放在该字段里，也可以不使用该字段，直接跟 _xx 属性平级放
        _data: {
            "data": {
                "list": [{
                    "uid": 1,
                    "bank": "中国建设银行",
                    "updateDate": "2016-10-31 18:25:10",
                    "province": "",
                    "acnumber": "63211234232142132",
                    "name": "杨娟",
                    "id": 18,
                    "delFlag": "FALSE",
                    "createDate": "2016-10-31 18:25:10"
                }, {
                    "uid": 1,
                    "bank": "中国工商银行",
                    "updateDate": "2016-10-12 09:46:08",
                    "province": "",
                    "acnumber": "6212260200002807853",
                    "name": "杨娟",
                    "id": 14,
                    "delFlag": "FALSE",
                    "createDate": "2016-10-12 09:46:04"
                }, {
                    "uid": 1,
                    "bank": "交通银行",
                    "updateDate": "2016-10-11 15:05:28",
                    "province": "",
                    "acnumber": "6222600570001011014",
                    "name": "杨娟",
                    "id": 13,
                    "delFlag": "FALSE",
                    "createDate": "2016-10-11 15:05:25"
                }, {
                    "uid": 1,
                    "bank": "浙商银行天津分行",
                    "updateDate": "2016-10-11 14:44:58",
                    "province": "",
                    "acnumber": "6223091100600588909",
                    "name": "杨娟",
                    "id": 12,
                    "delFlag": "FALSE",
                    "createDate": "2016-10-11 14:44:55"
                }, {
                    "uid": 1,
                    "bank": "中国光大银行",
                    "updateDate": "2016-10-11 14:44:08",
                    "province": "",
                    "acnumber": "6226661203661552",
                    "name": "杨娟",
                    "id": 11,
                    "delFlag": "FALSE",
                    "createDate": "2016-10-11 14:44:05"
                }, {
                    "uid": 1,
                    "bank": "中国光大银行",
                    "updateDate": "2016-10-11 14:44:08",
                    "province": "",
                    "acnumber": "6226661203661552",
                    "name": "杨娟",
                    "id": 11,
                    "delFlag": "FALSE",
                    "createDate": "2016-10-11 14:44:05"
                }, {
                    "uid": 1,
                    "bank": "中国光大银行",
                    "updateDate": "2016-10-11 14:44:08",
                    "province": "",
                    "acnumber": "6226661203661552",
                    "name": "杨娟",
                    "id": 11,
                    "delFlag": "FALSE",
                    "createDate": "2016-10-11 14:44:05"
                }, {
                    "uid": 1,
                    "bank": "中国光大银行",
                    "updateDate": "2016-10-11 14:44:08",
                    "province": "",
                    "acnumber": "6226661203661552",
                    "name": "杨娟",
                    "id": 11,
                    "delFlag": "FALSE",
                    "createDate": "2016-10-11 14:44:05"
                },{
                    "uid": 1,
                    "bank": "中国光大银行",
                    "updateDate": "2016-10-11 14:44:08",
                    "province": "",
                    "acnumber": "6226661203661552",
                    "name": "杨娟",
                    "id": 11,
                    "delFlag": "FALSE",
                    "createDate": "2016-10-11 14:44:05"
                }]
            }, "msg": "success", "code": "100200"
        }
    };
};

/* eslint-enable fecs-camelcase */
